<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
    <title><%= htmlWebpackPlugin.options.title %></title>
    <style>
      /* * {
        font-family: "微软雅黑";
      } */

      html,
      body,
      #app {
        height: 100%;
        width: 100%;
        position: relative;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden;
      }
    </style>
  </head>
  <body>
    <noscript>
      <strong
        >We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work
        properly without JavaScript enabled. Please enable it to
        continue.</strong
      >
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
    <!-- rem -->
    <script type="text/javascript">
      !(function () {
        function a() {
          var clientWidth =
            document.documentElement.clientWidth < 1080
              ? 1080
              : document.documentElement.clientWidth;
          document.documentElement.style.fontSize = clientWidth / 19.2 + "px";
          var div = document.createElement("div");
          div.style.width = "19.2rem";
          document.body.appendChild(div);
          document.documentElement.style.fontSize =
            (document.documentElement.style.fontSize.replace("px", "") *
              clientWidth) /
              div.clientWidth +
            "px";
          document.body.removeChild(div);
        }
        var b = null;
        window.addEventListener(
          "resize",
          function () {
            clearTimeout(b), (b = setTimeout(a, 300));
          },
          !1
        ),
          a();
      })(window);
    </script>
  </body>
</html>
